/*! \file imgbtn.h	
	This is the header file for imgbtn.cpp
	
	This contains the ImageButton class
*/

#ifndef IMAGE_BUTTON_H
#define IMAGE_BUTTON_H

#include "button.h"
#include "guiclass.h"
#include "image.h"
#include <GL/glfw.h>

/**
	\class ImageButton

	This is an image button
*/

class ImageButton : public Button {
protected:
	int image;
	int depressedImage;
	bool stretchOnResize;


public:
	ImageButton( Component* parent, int imageID, int depressedImageID = -1 );
	
	void setImageIDs( int imageID, int depressedImageID ); 
	void draw();	
	void setStretchOnResize( bool stretch ) { stretchOnResize = stretch; }
	
	
};










#endif
